# coding=utf-8


# # 函数内临时改变了下
# def change_name(name):
#     print("change before + %s" % name)
#     name = "haha"
#     print("change after + %s" % name)
#
#
# name = "zjy"
# change_name(name)
# print(name)


# 除字符串、固定（列表和字典 是可以在函数里改的）
names = ["zhang", "wang", "li"]


def change():
    names[0] = "liudehua"


change()
print(names)


